﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F67 RID: 3943
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicScepterSelectCallback : IMessage<RogueMagicScepterSelectCallback>, IMessage, IEquatable<RogueMagicScepterSelectCallback>, IDeepCloneable<RogueMagicScepterSelectCallback>, IBufferMessage
	{
		// Token: 0x17003209 RID: 12809
		// (get) Token: 0x0600B0C0 RID: 45248 RVA: 0x001DE037 File Offset: 0x001DC237
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicScepterSelectCallback> Parser
		{
			get
			{
				return RogueMagicScepterSelectCallback._parser;
			}
		}

		// Token: 0x1700320A RID: 12810
		// (get) Token: 0x0600B0C1 RID: 45249 RVA: 0x001DE03E File Offset: 0x001DC23E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicScepterSelectCallbackReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700320B RID: 12811
		// (get) Token: 0x0600B0C2 RID: 45250 RVA: 0x001DE050 File Offset: 0x001DC250
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicScepterSelectCallback.Descriptor;
			}
		}

		// Token: 0x0600B0C3 RID: 45251 RVA: 0x001DE057 File Offset: 0x001DC257
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterSelectCallback()
		{
		}

		// Token: 0x0600B0C4 RID: 45252 RVA: 0x001DE05F File Offset: 0x001DC25F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterSelectCallback(RogueMagicScepterSelectCallback other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B0C5 RID: 45253 RVA: 0x001DE078 File Offset: 0x001DC278
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterSelectCallback Clone()
		{
			return new RogueMagicScepterSelectCallback(this);
		}

		// Token: 0x0600B0C6 RID: 45254 RVA: 0x001DE080 File Offset: 0x001DC280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicScepterSelectCallback);
		}

		// Token: 0x0600B0C7 RID: 45255 RVA: 0x001DE08E File Offset: 0x001DC28E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicScepterSelectCallback other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600B0C8 RID: 45256 RVA: 0x001DE0AC File Offset: 0x001DC2AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B0C9 RID: 45257 RVA: 0x001DE0D2 File Offset: 0x001DC2D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B0CA RID: 45258 RVA: 0x001DE0DA File Offset: 0x001DC2DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B0CB RID: 45259 RVA: 0x001DE0E3 File Offset: 0x001DC2E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B0CC RID: 45260 RVA: 0x001DE0FC File Offset: 0x001DC2FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B0CD RID: 45261 RVA: 0x001DE122 File Offset: 0x001DC322
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicScepterSelectCallback other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B0CE RID: 45262 RVA: 0x001DE13F File Offset: 0x001DC33F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B0CF RID: 45263 RVA: 0x001DE148 File Offset: 0x001DC348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400479B RID: 18331
		private static readonly MessageParser<RogueMagicScepterSelectCallback> _parser = new MessageParser<RogueMagicScepterSelectCallback>(() => new RogueMagicScepterSelectCallback());

		// Token: 0x0400479C RID: 18332
		private UnknownFieldSet _unknownFields;
	}
}
